<!DOCTYPE html>
<html>
<#include "../head.html">
    <body>
    <div class="mc">
        <div class="mc-l">
            <!--左侧导航---{-->
            <div id="navPanelContainer">
                <div class="system-logo cd"></div>
                <!--管理员信息---{-->
                <#include "../adminInfo.html">
                    <!--管理员信息---}-->
                    <div class="nav-wrap">
                        <#include "left.html">
                    </div>
            </div>
            <!--左侧导航---}-->
        </div>
        <div class="mc-m">
            <div class="navToggle"></div>
        </div>
        <div class="mc-r">
            <!--顶部导航---{-->
            <#include "../topNav.html">
                <!--顶部导航---}-->

                <!--面包屑导航---{-->
                <#assign moduleName="修改类型">
                    <#include "banner.html">
                        <!--面包屑导航---}-->

                        <!--工具栏--{-->
                        <div id="toolbar" class="clearfix">
                            <div class="toolbor-module search">
                                <input type="button" class="input-button return" value="返回" onclick="location.href='/admin/qa/queryQuestionType.html?page=${page}&sTypeName=${sTypeName}'">
                            </div>
                        </div>
                        <!--工具栏--}-->

                        <div id="main" class="clearfix">
                            <form name="form1" method="post" action="/admin/qa/modidyQuestionType.html" >
                                <div class="valBox w750">
                                    <div class="top">
                                        <strong>修改问题类型</strong>
                                    </div>
                                    <div class="val clearfix">
                                        <ul>
                                            <li>
                                                <div class="title">问题类型名称：</div>
                                                <div class="v">
                                                    <input type="text" name="typeName" value="<#if questionType??>${questionType.typeName!''}<#else></#if>"/>
                                                    <input type="hidden" name="oldTypeName" value="<#if questionType??>${questionType.typeName!''}<#else></#if>"/>

                                                </div>
                                            </li>
                                            <li>
                                                <div class="title">问题类型描述：</div>
                                                <div class="v"><input type="text" name="comment" value="<#if questionType??>${questionType.comment!''}<#else></#if>"/></div>
                                            </li>
                                            <li>
                                                <div class="title">问题类型父类：</div>
                                                <div class="v">
                                                    <select name="pId" style="min-width:124px">
                                                        <option value="">根目录</option>
                                                        <#if questionTypeList?? && questionType.questionType??>
                                                            <#list questionTypeList as item>
                                                                <#if !item.questionType??>
                                                                    <option value="${item.id}" <#if questionType.questionType.id == item.id>selected<#else></#if>>${item.typeName}</option>
                                                                </#if>
                                                            </#list>
                                                        </#if>
                                                    </select>

                                                </div>
                                            </li>

                                        </ul>
                                        <div class="other" style="margin-top: 10px;">
                                            <input type="hidden"  name="actionType" value="modify" />
                                            <input type="hidden"  name="page" value="${page}" />
                                            <input type="hidden"  name="sTypeName" value="${sTypeName}" />
                                            <input type="hidden"  name="id" value="${questionType.id?c}" />
                                            <input type="hidden"  name="pid" value="<#if questionType.questionType??>${questionType.questionType.id?c}<#else>0</#if>" />
                                            <input type="submit"  name="reset" value="修改" class="input-button" style="margin-left: 255px;"/>
                                        </div>
                                    </div>
                                </div>

                            </form>

                        </div>
        </div>
    </div>
    <div class="mc-b">
        <#include "../foot.html">
    </div>
    <#include "../jsPage.html">
    </body>
</html>

